home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 4
/
Amiga Tools 4.iso
/
tools
/
wb-enhancement
/
centertitles
/
centertitles_eng.doc
< prev
next >
Wrap
Text File
|
1996-02-15
|
3KB
|
73 lines
========================================================
CENTERTITLES
--------------------------------------------------------
Version 40.15 (15 February 1996) by Massimo Tantignone
========================================================
This program patches a system library function to make Intuition center
window titles in the titlebar instead of left-justifying them as usual.
To use CenterTitles you just have to add the following line at the
beginning of your User-startup:
Run > NIL: CenterTitles
after copying CenterTitles into a directory that is in the system path (for
example SYS:C or SYS:Utilities).
Alternatively you can simply copy CenterTitles along with its icon into
your WBStartup drawer and forget about it. Do not remove the "DONOTWAIT"
tooltype.
To remove CenterTitles you can run it a second time or send a CTRL-C to
its process. By doing this the program restores the original library function
and exits.
By setting the environment variable "CenterTitles/CenterMode" you can
choose between two ways of centering the title.
Use "SetEnv CenterTitles/CenterMode RELATIVE" to center the title within
the free space in the titlebar, or "SetEnv CenterTitles/CenterMode ABSOLUTE"
to center it in relation to the whole width of the window.
This environment variable is read by CenterTitles at launch time only. Its
default value is RELATIVE.
CenterTitles was tested with AmigaOS 2.04/3.0/3.1 and Enforcer. It
shouldn't have any serious bug, but I can't by any means guarantee that it
will work with future releases of AmigaOS (hopefully there will be no need
of it).
Furthermore, it could prove to be incompatible with the way some programs
handle the titlebar of their windows. In particular, with MUI windows, the
program sees the extra gadgets added to the titlebar, but at the window's
opening the title won't be exactly centered (there's no way around it).
However, subsequent refreshes of the title will place it correctly.
============================================================================
Changes from version 40.11 to version 40.15:
· Now CenterTitles recognizes and preserves non-system gadgets added to
the right side of the titlebar, such as the MUI ones
· Frequent changes to window titles cause now much less flickering
· Fixed some bugs that caused problems with GIMMEZEROZERO windows
· Added the option to center the title in relation to the whole width
of the window
============================================================================
For any comments, suggestions, questions, bug reports, etc. contact me at
the following address:
Massimo Tantignone
Via Campagnoli, 4
28100 Novara (NO)
ITALY
Fidonet: 2:331/126.6
E-mail: tanti@intercom.it